v478.2 — Fleet Map driver-app GPS readiness eligibility status build fix
Summary
v478.2 fixes the production build error found after deploying v478.1.
The v478 driver-app GPS intake readiness model computed an eligibilityStatus union that cannot include CONTRACT_READY in that specific service branch, but the status mapping still compared the computed value against CONTRACT_READY. Next.js compiled the JavaScript successfully, then failed during the TypeScript validity check because the comparison had no overlapping type.
Fix
- Updated
src/modules/fleet-map/fleet-map.service.ts so the driver-app GPS readiness status mapping treats CONSENT_REQUIRED as the CONTRACT_READY display state without comparing the computed value to an impossible CONTRACT_READY branch.
What changed
- Build-only fix.
- No Fleet Map behavior change.
- No UI behavior change.
- No API behavior change.
- No Prisma schema change.
What's Visible
In Workspace Operations / Fleet Map
The v478 driver-app GPS intake, consent, and live eligibility UI remains the same. No new visible workflow is added by v478.2.
Guardrails Preserved
- Green marker remains reserved for fresh live driver-app GPS only.
- Dispatcher-confirmed/manual records remain blue/non-live.
- v478 readiness records do not ingest coordinates, move markers, or turn markers green.
- Real driver-app GPS activation remains disabled.
- GPS/ELD/telematics providers remain disconnected.
- Google Geocoding/Routes APIs remain inactive.
- Payment collection, broker distribution limits, owned portal rules, internal load-board access, and Transportation Accounting remain unchanged.
- Prisma schema was not changed.